package com.xiaoshuidi.cloud.module.rooms.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.apartment.vo.ApartmentPageReqVO;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.apartment.vo.ApartmentVO;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.roomhouse.vo.RoomPageResp;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.rooms.pojo.Apartment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公寓 Mapper
 *
 * @author
 */
@Mapper
public interface ApartmentMapper extends BaseMapperX<Apartment> {
    IPage<RoomPageResp> pageQuery(IPage iPage, @Param("reqVO") ApartmentPageReqVO apartmentPageReqVO, @Param("tenantId") long tenantId);
}
